﻿using YNTK.Common.Const;
using SqlSugar;
using System;

namespace YNTK.SubDev.Entitys
{
    /// <summary>
    /// 报价信息
    /// </summary>
    [SugarTable("zy_oa_pricelist")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class ZyOaPricelistEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
        public string Id { get; set; }
        
        /// <summary>
        /// 关联Id
        /// </summary>
        [SugarColumn(ColumnName = "F_PriceId")]        
        public string PriceId { get; set; }
        
        /// <summary>
        /// 品名
        /// </summary>
        [SugarColumn(ColumnName = "F_Name")]        
        public string Name { get; set; }
        
        /// <summary>
        /// 规格
        /// </summary>
        [SugarColumn(ColumnName = "F_Specs")]        
        public string Specs { get; set; }
        
        /// <summary>
        /// 单价
        /// </summary>
        [SugarColumn(ColumnName = "F_Amount")]        
        public decimal Amount { get; set; }
        
        /// <summary>
        /// 税率(%)
        /// </summary>
        [SugarColumn(ColumnName = "F_Tax")]        
        public decimal Tax { get; set; }
        
        /// <summary>
        /// 数量
        /// </summary>
        [SugarColumn(ColumnName = "F_Num")]        
        public int? Num { get; set; }
        
        /// <summary>
        /// 单位
        /// </summary>
        [SugarColumn(ColumnName = "F_Unit")]        
        public string Unit { get; set; }
        
        /// <summary>
        /// 内容
        /// </summary>
        [SugarColumn(ColumnName = "F_Content")]        
        public string Content { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "F_Description")]        
        public string Description { get; set; }
        
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnName = "F_SortCode")]        
        public long SortCode { get; set; }
        
        /// <summary>
        /// 有效标志
        /// </summary>
        [SugarColumn(ColumnName = "F_EnabledMark")]        
        public int? EnabledMark { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorTime")]        
        public DateTime? CreatorTime { get; set; }
        
        /// <summary>
        /// 创建用户
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorUserId")]        
        public string CreatorUserId { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyTime")]        
        public DateTime? LastModifyTime { get; set; }
        
        /// <summary>
        /// 修改用户
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyUserId")]        
        public string LastModifyUserId { get; set; }
        
        /// <summary>
        /// 报价状态（1-正在进行，2-暂停）
        /// </summary>
        [SugarColumn(ColumnName = "F_State")]        
        public string State { get; set; }
        
        /// <summary>
        /// 最后状态
        /// </summary>
        [SugarColumn(ColumnName = "F_LastTrackState")]        
        public int? LastTrackState { get; set; }
        
        /// <summary>
        /// 说明
        /// </summary>
        [SugarColumn(ColumnName = "F_Remark")]        
        public string Remark { get; set; }
        
        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnName = "Appendix")]        
        public string Appendix { get; set; }
        
        /// <summary>
        /// 批注列表Json
        /// </summary>
        [SugarColumn(ColumnName = "F_PostilJson")]        
        public string PostilJson { get; set; }
        
        /// <summary>
        /// 批注总数
        /// </summary>
        [SugarColumn(ColumnName = "F_PostilCount")]        
        public int? PostilCount { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare1")]        
        public string Spare1 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare2")]        
        public string Spare2 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Spare3")]        
        public string Spare3 { get; set; }
        
    }
}
